<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
</head>

<body>
<p>{#echo "测试代码段"#}</p>
<p>----------------------------------------------</p>
<p>{$a}</p>
<p>----------------------------------------------</p>
<p>{myTest()}</p>
<p>----------------------------------------------</p>
{#
class cls{
    public function t() {return "----####----<b>测试对象调用</b>----####----";}
}
$cls = new cls;
#}
<form action="http://localhost/index.php?install/main/setup" method="post" enctype="application/x-www-form-urlencoded">
<textarea name="xx"></textarea>
<input type="submit" name="button" id="button" value="提交" />
</form>
{$cls->t()}
<p>----------------------------------------------</p>
<p>测试url: {url app/ctrl/act}</p>
<p>测试url: {url "{$a['xx']}/{$b['x']['y']['z']}/$c"}</p>
<p>测试url: {url $app/$ctl/$act}</p>
</body>
</html>
